package com.yooyuu.app;


import android.app.Application;
import android.content.Context;

//import com.yooyuu.app.DaemonApplication;
//import com.yooyuu.app.DaemonConfigurations;
import com.yooyuu.app.service.MainReceiver;
import com.yooyuu.app.service.MainService;
import com.yooyuu.app.service.ProtectReceiver;
import com.yooyuu.app.service.ProtectService;



public class TestApplication extends Application {

//    @Override
//    public void attachBaseContextByDaemon(Context base) {
//        super.attachBaseContextByDaemon(base);
//    }
//	@Override
//	protected DaemonConfigurations getDaemonConfigurations() {
//		 DaemonConfigurations.DaemonConfiguration mainConfig = new DaemonConfigurations.DaemonConfiguration(
//	                "com.yooyuu.app:core",
//	                MainService.class.getCanonicalName(),
//	                MainReceiver.class.getCanonicalName());
//
//	        DaemonConfigurations.DaemonConfiguration protectConfig = new DaemonConfigurations.DaemonConfiguration(
//	                "com.yooyuu.app:protect",
//	                ProtectService.class.getCanonicalName(),
//	                ProtectReceiver.class.getCanonicalName());
//
//	        DaemonConfigurations.DaemonListener listener = new StompDaemonListener();
//
//	        return new DaemonConfigurations(mainConfig, protectConfig, listener);
//	}
//
//    class StompDaemonListener implements DaemonConfigurations.DaemonListener{
//        @Override
//        public void onPersistentStart(Context context) {
//        }
//
//        @Override
//        public void onDaemonAssistantStart(Context context) {
//        }
//
//        @Override
//        public void onWatchDaemonDaed() {
//        }
//    }
}
